﻿using Wenyu.Framework.Common.EnumTypes;

namespace Wenyu.Framework.DbModels.Entities
{
    /// <summary>
    /// 基础类
    /// </summary>
    public abstract class BaseEntity
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModifyTime { get; set; }
        /// <summary>
        /// 状态 0正常 1冻结 2 删除
        /// </summary>
        public StatusEnum Status { get; set; }
    }
}